package top.liuziqian.shop.service;

import top.liuziqian.shop.domain.GoodsSupplierCategory;

import java.util.List;

public interface IGoodsSupplierCategoryService {

    /**
     * 查询供应商分类信息
     *
     * @param supplierCategoryId 供应商分类ID
     * @return 供应商分类信息
     */
    public GoodsSupplierCategory selectSupplierCategoryById(Long supplierCategoryId);

    /**
     * 查询供应商分类列表
     *
     * @param supplierCategory 供应商分类信息
     * @return 供应商分类集合
     */
    public List<GoodsSupplierCategory> selectSupplierCategoryList(GoodsSupplierCategory supplierCategory);



    public List<GoodsSupplierCategory> selectSupplierCategoryAll();

    /**
     * 新增供应商分类
     *
     * @param supplierCategory 供应商分类信息
     * @return 结果
     */
    public int insertSupplierCategory(GoodsSupplierCategory supplierCategory);

    /**
     * 修改供应商分类
     *
     * @param supplierCategory 供应商分类信息
     * @return 结果
     */
    public int updateSupplierCategory(GoodsSupplierCategory supplierCategory);

    /**
     * 删除供应商分类信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSupplierCategoryByIds(String ids);
}
